<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/specifications.css" />
	</head>

	<body>
		<div class="web">
			<header>
				<div class="img"><a href=""><img src="img/icon_back.png"/></a></div>
				<div class="letter">
					<p>推广</p>
				</div>
				<div class="nav">
					<ul class="clearfix">
						<li class="fl">
							<a href="product.html">商品</a>
						</li>
						<li class="active fl">
							<a href="detail.html">详情</a>
						</li>
						<li class="fl">
							<a href="evaluation.html">评价</a>
						</li>
					</ul>
				</div>
			</header>

			<section>
				<div class="top">
					<ul class="clearfix">
						<li class="fl">
							<a href="detail.html">图文详情</a>
						</li>
						<li class="active fl">
							<a href="specifications.html">规格参数</a>
						</li>
						<li class="fl">
							<a href="packaging-after-sale.html">包装售后</a>
						</li>
						<li class="fl">
							<a href="distribution-instructions.html">分销说明</a>
						</li>
					</ul>
				</div>
				<div class="hr">

				</div>
				<div class="type clearfix">
					<p class="fl" onclick="hidetext1()">主题参数</p>
					<a onclick="showtext1()" id="v1">&gt;</a>
				</div>
				<div class="detail" id="con1">
					<ul>
						<li>
							<span>品牌:</span>
							<span>Swisse</span>
						</li>
						<li>
							<span>类别:</span>
							<span>保健品</span>
						</li>
						<li>
							<span>产地:</span>
							<span>澳大利亚</span>
						</li>
						<li>
							<span>国家/进口:</span>
							<span>进口</span>
						</li>
						<li>
							<span>适宜人群:</span>
							<span>成年女性</span>
						</li>
						<li>
							<span>保质期:</span>
							<span>三年</span>
						</li>
					</ul>
				</div>
				<div class="type clearfix">
					<p class="fl" onclick="hidetext2()">规格参数</p>
					<a onclick="showtext2()" id="v2">&gt;</a>
				</div>
				<div class="detail d2" id="con2">
					<ul>
						<li>
							<span>包装:</span>
							<span>瓶装</span>
						</li>
						<li>
							<span>净含量:</span>
							<span>500g</span>
						</li>
					</ul>
				</div>
				<div class="type clearfix">
					<p class="fl" onclick="hidetext3()">其他参数</p>
					<a onclick="showtext3()" id="v3">&gt;</a>
				</div>
				<div class="detail d2" id="con3">
					<ul>
						<li>
							<span>是否含糖:</span>
							<span>不含糖</span>
						</li>
						<li>
							<span>蓝帽标识:</span>
							<span>普通膳食补充剂 (非健字号)</span>
						</li>
					</ul>
				</div>
			</section>

		</div>

		<script type="text/javascript">
			function hidetext1() {
				var mychar = document.getElementById("con1");
				mychar.style.display = "none";

			}

			function showtext1() {
				var mychar = document.getElementById("con1");
				mychar.style.display = "block";
				var a = document.getElementById("v1");
				a.style.transform="rotate(270deg)";
			}
			
			function hidetext2() {
				var mychar = document.getElementById("con2");
				mychar.style.display = "none";

			}

			function showtext2() {
				var mychar = document.getElementById("con2");
				mychar.style.display = "block";
				var b = document.getElementById("v2");
				b.style.transform="rotate(270deg)";
			}
			
			function hidetext3() {
				var mychar = document.getElementById("con3");
				mychar.style.display = "none";

			}

			function showtext3() {
				var mychar = document.getElementById("con3");
				mychar.style.display = "block";
				var c = document.getElementById("v3");
				c.style.transform="rotate(270deg)";
			}
		</script>

		<script>
			document.body.style.height = window.innerHeight + "px";

			/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 640) + 'px';
				//字体大小   =1个rem单位表示多少个像素*(设备的宽度 /设计宽度)
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>

	</body>

</html>